package demo5;

/**
 * 实现泛型接口的类
 */
public class Apple implements Generator<String>{
    public String key;

    public void setKey(String key) {
        this.key = key;
    }
    public String getKey() {
        return key;
    }
}
